package com.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@MapperScan("com.example.mapper")
@ServletComponentScan//将servlet加入到spring管理中
public class SecondHandDemoApplication {
    public static void main(String[] args) {

        SpringApplication.run(SecondHandDemoApplication.class, args);
    }
}
